﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HighLowTriple7;
using PaymentBLL;

public partial class pages_Game : System.Web.UI.Page
{    
    protected void Page_Load(object sender, EventArgs e)
    {
        ((SiteMaster)(this.Master)).LeftMenu = 0;
        if (Utils.UserUtils.IsLogin)
        {
            ucGame1.AccountId = Utils.UserUtils.AccountId;
            ucGame1.UserName = Utils.UserUtils.UserName;
            ucGame1.TypeAccount = Utils.UserUtils.TypeAccount;
            var ctr = new CtrAccount();
            var account = ctr.SelectAccountInfo(Utils.UserUtils.AccountId);
            ucGame1.Au = (Int32)account.Au;
            ucGame1.Ag = (Int32)account.Ag;
        }
    }
}